API Documentation
Pass.h
1 // Pass.h
3 //
5 
6 namespace nkGraphics
7 {
14  class DLL_GRAPHICS_EXPORT Pass : public ProfilableClass, public nkExport::Exportable
15  {
16  public :
17 
30 
42  void setName (const nkMemory::StringView& name) ;
43 
48  virtual void render () = 0 ;
49 
55  virtual void exportClassToTree (nkExport::Node* rootNode) override ;
61  virtual void importClassFromTree (nkExport::Node* rootNode) override ;
62  } ;
63 }
nkGraphics::ProfilableClass
WIP. Functionality should not be used for now.
Definition: ProfilableClass.h:21
nkExport::Exportable
An interface to define objects that can be exported using this component.
Definition: Exportable.h:15
nkGraphics::TargetOperations
Describes a target operation set.
Definition: TargetOperations.h:15
nkGraphics::Pass::getPassType
PASS_TYPE getPassType() const
nkGraphics::Pass::exportClassToTree
virtual void exportClassToTree(nkExport::Node *rootNode) override
nkGraphics::Pass::importClassFromTree
virtual void importClassFromTree(nkExport::Node *rootNode) override
nkExport::Node
A node in the tree structure representing the data to export / import.
Definition: Node.h:42
nkGraphics::Pass
The base for a pass within a TargetOperations.
Definition: Pass.h:15
nkGraphics::Pass::setParentTargetOperations
void setParentTargetOperations(TargetOperations *parent)
nkMemory::StringView
Class holding information about a string, with no ownership over the data.
Definition: StringView.h:22
nkGraphics::PASS_TYPE
PASS_TYPE
The pass types available in the component.
Definition: PassType.h:12
nkGraphics::Pass::getParentTargetOperations
TargetOperations * getParentTargetOperations() const
nkGraphics::Pass::getName
nkMemory::StringView getName() const
nkGraphics::Pass::setName
void setName(const nkMemory::StringView &name)
nkGraphics::Pass::render
virtual void render()=0
nkGraphics
Encompasses all API of component NilkinsGraphics.
Definition: BoundingBox.h:7